﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
        <title>${page.Title}#if(${page.PageIndex}>1)_第${page.PageIndex}页#end#if(${page.Channel.Id}!=${page.ParentChannel.Id})_${page.ParentChannel.Title}#end _${site.Name}</title>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="keywords" content="${page.Keywords}  " />
    <meta name="description" content="${page.Description}"/>
<link rel="stylesheet" type="text/css" href="/${skin.Dir}/main.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="mobile-agent" content="format=html5;url=http://m.gushidaquan.net" />
</head>
<body>
    
      #parse("${skin.TemplateName}/include/top_logo.htm")
       
<div class="blank4"></div>
<!--头部半通，按钮-->
    <div class="wrap">
$cmn.Advertise("Index_1").Advertise
    </div>
    <div class="wrap">
    $cmn.Advertise("Index_2").Advertise
    </div>
<!--首页第一部分-->
<div class="blank4"></div>
<div class="wrap">
	<div class="weather-tip clearfix">
		<div class="cl fleft"></div>
		<div class="weather fleft">
			<div id="datetime"></div>
			<div class="broadcast">特别推荐：</div>
			<div id="viewBox" class="report" onmouseover="clearInterval(Atimer);" onmouseout="Atimer=setInterval(Amar, 80);">
				<div style="float:left;width:9999px;">
					<ul id="scroll1" class="report-list">
                     #foreach($ListInfo in $cmn.FlagList("",15,"article","s",true,${site.CacheSecond}))
               <li>·<a href="${ListInfo.Url}"  target="_blank">${ListInfo.Title}</a></li>
                #end 
					</ul>
					<ul id="scroll2" class="report-list"></ul>
				</div>
			</div>

			<div class="tip">
				<b>系统公告：</b>
                   #foreach($ListInfo in $notice.List(3,${site.CacheSecond}))
               ·<a href="${ListInfo.Url}"   rel="nofollow"  target="_blank">${ListInfo.Title}[详细]</a>
                #end 


			</div>
		</div>
		<div class="cr fright"></div>
	</div><!--end weather-tip-->
	<div class="slide-headlines rel clearfix">
		<div id="slide">
			<ul class="pic">

               #foreach($ListInfo in $cmn.ModuleList("",4,"article","flag!=''","adddate desc",true,true,${site.CacheSecond}))
               #if(${velocityCount}==1)
                  <li style="display: list-item;">
                #else
                 <li  style="display: none;" class="hide">
                #end
                	<a href="${ListInfo.Url}"  target="_blank"><img src="${ListInfo.Img}" alt="${ListInfo.Title}" title="${ListInfo.Title}"></a>

					<div class="shadow"></div>

					<div class="info">

						<h2><a href="${ListInfo.Url}" target="_blank">${ListInfo.Title}</a></h2>

						<p>$cmn.GetLengthString(${ListInfo.Summary},60,true)</p>

					</div>

				</li>
                #end 




			</ul>
			<ul class="trigger">
			 #foreach($ListInfo in $cmn.ModuleList("",4,"article","flag!=''","adddate desc",true,true,${site.CacheSecond}))
               #if(${velocityCount}==1)
                 <li class="current">
                #else
                 <li class="">
                #end
                	<img src="${ListInfo.Img}" alt="${ListInfo.Title}" width="88" height="58"></li>
                #end 
			</ul>
		</div><!--end slide-->
		<div class="headlines">
			
             #foreach($ListInfo in $cmn.ModuleList("",15,"article","flag!=''","adddate desc",true,false,${site.CacheSecond}))
               #if(${velocityCount}==1)
                 <div class="news"> <h2><a href="${ListInfo.Url}" target="_blank">${ListInfo.Title}</a></h2>
                #elseif(${velocityCount}==2)
                <ul><li><a href="${ListInfo.Url}"  target="_blank">${ListInfo.GetLengthTitle(30)}</a> |
                #elseif(${velocityCount}==4)
				<a href="${ListInfo.Url}"  target="_blank">${ListInfo.GetLengthTitle(30)}</a> </li><li>
                #elseif(${velocityCount}==7)
                <a href="${ListInfo.Url}"  target="_blank">${ListInfo.GetLengthTitle(30)}</a></li></ul></div>


                 #elseif(${velocityCount}==8)
                 <div class="news"> <h2><a href="${ListInfo.Url}"  target="_blank">${ListInfo.Title}</a></h2>
                  <p>$!cmn.GetLengthString(${ListInfo.Summary},146,true)</p></div>
                 #elseif(${velocityCount}==9)
                  <div class="news"><h2><a href="${ListInfo.Url}">${ListInfo.Title}</a></h2>
                #elseif(${velocityCount}==10)
                <ul><li><a href="${ListInfo.Url}"  target="_blank">${ListInfo.GetLengthTitle(30)}</a> |
                #elseif(${velocityCount}==12)
				<a href="${ListInfo.Url}"  target="_blank">${ListInfo.GetLengthTitle(30)}</a> </li><li>
                #elseif(${velocityCount}==15)
                <a href="${ListInfo.Url}"  target="_blank">${ListInfo.GetLengthTitle(30)}</a></li></ul></div>
                #else
                <a href="${ListInfo.Url}"  target="_blank">${ListInfo.GetLengthTitle(30)}</a> |
                #end
                #end 
			
            </div>
            <!--end headlines-->
            <div class="abs-cl">
            </div>
            <div class="abs-cr">
            </div>
        </div>
        <!--end slide-headlines-->
    </div>
<div class="blank4"></div>



    <div class="wrap clearfix">
        <div class="showinfo fleft">
            <div class="explan rel">
                <div class="item" style="height:327px" >
                    <div class="caption clearfix">
                        <strong>最新更新</strong></div>
                    <div class="plan clearfix">
                        <div class="photo clearfix">

                          #foreach($ListInfo in $cmn.ModuleList("",1,"article","flag!=''","adddate desc",true,true,${site.CacheSecond}))
                  <a href="${ListInfo.Url}"  target="_blank">
                                <img src="${ListInfo.Img}" alt="${ListInfo.Title}" title="${ListInfo.Title}" width="135"
                                    height="84"></a>
                            <dl>
                                <dt><a href="${cmn.GetChannelByPath($ListInfo.Path).Url}"> ${cmn.GetChannelByPath(${ListInfo.Path}).Title}</a> <a href="${ListInfo.Url}"  target="_blank">${ListInfo.Title}</a></dt>
                                <dd>
                                    $!cmn.GetLengthString(${ListInfo.Summary},86,true)<a href="${ListInfo.Url}">[详情]</a></dd>
                            </dl>
                #end 

                          
                        </div>
                        <!--end photo-->
                        <div class="list clearfix">
                        
                        #foreach($ListInfo in $cmn.ModuleList("",14,"article","adddate desc",true,${site.CacheSecond}))
                        #beforeall
                        <ul>
                        #each
                         <li><a  href="${cmn.GetChannelByPath($ListInfo.Path).Url}"> <span class="colorchannel">[${cmn.GetChannelByPath($ListInfo.Path).Title}]</span></a><a href="${ListInfo.Url}" target="_blank">${ListInfo.GetLengthTitle(28)}</a></li>
                        #if(${velocityCount}==7)
                        </ul>
                            <ul class="other">
                        #end
                 
                  #afterall
                  </ul>
                #end 
                        </div>
                    </div>
                </div>
                <!--end item-->
                <div class="abs-tcl">
                </div>
                <div class="abs-tcr">
                </div>
                <div class="abs-cl">
                </div>
                <div class="abs-cr">
                </div>
            </div>
            <div class="blank4">
            </div>
        </div>
        <!--end showinfo-->
        <div class="newinfo fright">
            <div class="info rel">
                <ul class="tab-nav clearfix">
                    <li class="current">月点击排行</li>
                    <li>月好评排行</li>
                    <li>总点击排行</li>
                  
                    <li class="other">总好评排行<span></span></li>
                </ul>
                <div class="item" style="height:294px">
                    <div class="tab-box clearfix">
                        <div class="tab-item">
                        #foreach($ListInfo in $cmn.ModuleList("",20,"article",82000,"click","month"))
                        #beforeall
                        <ul>
                        #odd
        <li><span><a href="${ListInfo.Url}" target="_blank">${ListInfo.Title}</a></span>
#even
        <a href="${ListInfo.Url}" target="_blank">${ListInfo.Title}</a></li>
         #each
                        #if(${velocityCount}==10)
                        </ul>
                            <ul >
                        #end
                  #afterall
                  </ul>
                #end 

                        </div>
                        <div class="tab-item hide">
                        #foreach($ListInfo in $cmn.ModuleList("",20,"article",82000,"support","month"))
                        #beforeall
                        <ul>
                        #odd
        <li><span><a href="${ListInfo.Url}" target="_blank">${ListInfo.Title}</a></span>
#even
        <a href="${ListInfo.Url}" target="_blank">${ListInfo.Title}</a></li>
         #each
                        #if(${velocityCount}==10)
                        </ul>
                            <ul >
                        #end
                  #afterall
                  </ul>
                #end 

                        </div>
                        <div class="tab-item hide">
                        #foreach($ListInfo in $cmn.ModuleList("",20,"article"," viewnum desc ",true,82000))
                        #beforeall
                        <ul>
                        #odd
        <li><span><a href="${ListInfo.Url}" target="_blank">${ListInfo.Title}</a></span>
#even
        <a href="${ListInfo.Url}" target="_blank">${ListInfo.Title}</a></li>
         #each
                        #if(${velocityCount}==10)
                        </ul>
                            <ul >
                        #end
                  #afterall
                  </ul>
                #end 

                        </div>
                        <div class="tab-item hide">
                        #foreach($ListInfo in $cmn.ModuleList("",20,"article"," supportnum desc ",true,82000))
                        #beforeall
                        <ul>
                        #odd
        <li><span><a href="${ListInfo.Url}" target="_blank">${ListInfo.Title}</a></span>
#even
        <a href="${ListInfo.Url}" target="_blank">${ListInfo.Title}</a></li>
         #each
                        #if(${velocityCount}==10)
                        </ul>
                            <ul >
                        #end
                  #afterall
                  </ul>
                #end 

                    </div>
                    </div>
                    <!--end tab-box-->
                   
                </div>
                <!--end item-->
                <div class="abs-cl">
                </div>
                <div class="abs-cr">
                </div>
            </div>
        </div>
        <!--end newinfo-->
    </div>
<div class="blank4"></div>
<!--二屏通栏-->
    <div class="wrap">
       $cmn.Advertise("Index_3").Advertise;
    </div>
<!--首页第二部分-->
<div class="blank4"></div>
    <div class="wrap visible clearfix">
        <div class="col-main fleft">

       
 #foreach($ChannelEntity in $cmn.ChannelList(0))
 #if($ChannelEntity.IsOut!="True" && ${velocityCount}<=3)


 <div class="channel-person rel">
                <div class="item">
                    <div class="caption clearfix">
                        <h2>
                            <a href="${site.Url}${ChannelEntity.Url}"  target="_blank">${ChannelEntity.Title}</a></h2>
                        <span></span>
                        <ul>

                        #foreach($ClassEntity2 in $cmn.ChannelList(${ChannelEntity.Id}))
#if(${velocityCount}<=5)<li><a href="${site.Url}${ClassEntity2.Url}"  target="_blank" >${ClassEntity2.Title}</a></li>#end
#end
                        </ul>
                    </div>
                    <div class="list clearfix">


                     #foreach($ListInfo in $cmn.ModuleList(${ChannelEntity.Id.ToString()},16,"article","adddate desc",true,${site.CacheSecond}))
                        #beforeall
                        <ul>
                        #odd
        <li><span><a href="${ListInfo.Url}" target="_blank">${ListInfo.GetLengthTitle(32)}</a></span>
#even
      <b><a  href="${cmn.GetChannelByPath($ListInfo.Path).Url}"> [${cmn.GetChannelByPath($ListInfo.Path).Title}]</a></b>  <a href="${ListInfo.Url}" target="_blank">${ListInfo.GetLengthTitle(26)}</a></li>
         #each
                        #if(${velocityCount}==8)
                        </ul>
                           <ul class="other">
                        #end
                  #afterall
                  </ul>
                #end 
                    </div>
                </div>
                <!--end item-->
                <div class="abs-tcl">
                </div>
                <div class="abs-tcr">
                </div>
                <div class="abs-cl">
                </div>
                <div class="abs-cr">
                </div>
            </div>
            <div class="blank4">
            </div>
#end
#end


        </div>
        <!--end col-main-->
        <div class="col-side fright">
             <div class="atten rel fleft">
                <div class="item">
                    <div class="caption clearfix">
                         <strong>最恐怖的故事</strong></div>
                    <div class="list" style="height:234px;" >
                        <ul class="clearfix">
                             #foreach($ListInfo in $cmn.ModuleList("55",10,"article","","supportnum desc",true,${site.CacheSecond}))
                 <li><a  href="${cmn.GetChannelByPath($ListInfo.Path).Url}"> <span class="colorchannel">[${cmn.GetChannelByPath($ListInfo.Path).Title}]</span></a><a href="${ListInfo.Url}"  target="_blank">${ListInfo.Title}</a></li>
                #end 
                        </ul>
                    </div>
                </div>
                <!--end item-->
                <div class="abs-tcl">
                </div>
                <div class="abs-tcr">
                </div>
                <div class="abs-cl">
                </div>
                <div class="abs-cr">
                </div>
            </div>
            
           <div class="atten rel fright" style="height:auto;">
                <div class="item">
                    <div class="caption clearfix">
                        <strong>关键词</strong></div>
                    <div class="list"  >
                       <div class="w95" id="tags" >
                         #foreach($Info in $tag.List("",20))
                 <a href="${Info.Url}"  target="_blank">${Info.TagName}</a>
                #end 
	</div>
                    </div>
                </div>
                <!--end item-->
                <div class="abs-tcl">
                </div>
                <div class="abs-tcr">
                </div>
                <div class="abs-cl">
                </div>
                <div class="abs-cr">
                </div>
            </div>

           <div class="atten rel fleft" style="margin-top:5px; height:auto;">
                <div class="item">
                    <div class="caption clearfix">
                        <strong><a >最感人的故事</a></strong></div>
                    <div class="list"  >
                        <ul class="clearfix">
                            #foreach($ListInfo in $cmn.ModuleList("47",10,"article","","supportnum desc",true,${site.CacheSecond}))
                 <li><a href="${ListInfo.Url}"  target="_blank">${ListInfo.Title}</a></li>
                #end 
                        </ul>
                    </div>
                </div>
                <!--end item-->
                <div class="abs-tcl">
                </div>
                <div class="abs-tcr">
                </div>
                <div class="abs-cl">
                </div>
                <div class="abs-cr">
                </div>
            </div>
             <div class="atten rel fright" style="margin-top:5px; height:auto;">
                <div class="item">
                    <div class="caption clearfix">
                        <strong><a href="searchlist/1">最新搜索</a></strong></div>
                    <div class="list">
                     <ul class="clearfix">
                              #foreach($Info in $cmn.SearchContentList(16,1,"","",${site.CacheSecond}))
                 <a href="${Info.Url}"  target="_blank">${Info.SearchContent}</a>
                #end 
                        </ul>
                    </div>
                </div>
                <!--end item-->
                <div class="abs-tcl">
                </div>
                <div class="abs-tcr">
                </div>
                <div class="abs-cl">
                </div>
                <div class="abs-cr">
                </div>
            </div>
            <div class="atten rel fleft" style="margin-top:5px;">
                <div class="item">
                    <div class="caption clearfix">
                        <strong><a >最励志的故事</a></strong></div>
                    <div class="list" style="height:234px;" >
                        <ul class="clearfix">
                            #foreach($ListInfo in $cmn.ModuleList("52",10,"article","","supportnum desc",true,${site.CacheSecond}))
                 <li><a  href="${cmn.GetChannelByPath($ListInfo.Path).Url}"  target="_blank"> <span class="colorchannel">[${cmn.GetChannelByPath($ListInfo.Path).Title}]</span></a><a href="${ListInfo.Url}"  target="_blank">${ListInfo.Title}</a></li>
                #end 
                        </ul>
                    </div>
                </div>
                <!--end item-->
                <div class="abs-tcl">
                </div>
                <div class="abs-tcr">
                </div>
                <div class="abs-cl">
                </div>
                <div class="abs-cr">
                </div>
            </div>
           
         
          
          
        </div>
        <!--end col-side-->
    </div>
<div class="blank4"></div>

<!--三屏通栏-->
    <div class="wrap">
       $cmn.Advertise("Index_4").Advertise
    </div>
<!--首页第三部分-->
<div class="blank4"></div>

<div class="wrap clearfix">
	<div class="col-main-s fleft">
		  #foreach($ClassEntity in $cmn.ChannelList("reid=0 and  isnav=1 and enabled=1","ordernum asc",${site.CacheSecond}))
            #beforeall
           
       #odd
       #if(  ${velocityCount}>3)  <div class="plastic rel fright">  #end
        #even
       #if(   ${velocityCount}>3)<div class="blank4"></div>
       <div class="beauty rel fleft">#end
         #each
          #if( ${velocityCount}>3)
                <div class="item">
				<div class="caption clearfix">
					<h2><a href="${site.Url}${ClassEntity.Url}">${ClassEntity.Title}</a></h2>
					<ul>
						 #foreach($ClassEntity2 in $cmn.ChannelList(${ClassEntity.Id}))#if(${velocityCount}<4)<li><a href="${site.Url}${ClassEntity2.Url}">${ClassEntity2.Title}</a></li>#end#end
					</ul>
				</div>
				<div class="list clearfix">
					<ul class="related">
 #foreach($ListInfo in $cmn.ModuleList(${ClassEntity.Id.ToString()},10,"article","",true,${site.CacheSecond}))
                <li><a  href="${cmn.GetChannelByPath($ListInfo.Path).Url}"><span class="colorchannel">[${cmn.GetChannelByPath($ListInfo.Path).Title}]</span></a><a href="${ListInfo.Url}" target="_blank">${ListInfo.GetLengthTitle(38)}</a></li>
                #end
					</ul>
				</div>
			</div><!--end item-->
			<div class="abs-tcl"></div>
			<div class="abs-tcr"></div>
			<div class="abs-cl"></div>
			<div class="abs-cr"></div>
		</div>    
            #end
                #end
	</div><!--end col-main-s-->
	<div class="col-side-s fright">

        <div class="blank4">
        </div>
        <div class="best rel">
            <div class="item">
                <div class="caption clearfix">
                    <strong>全站精华</strong></div>
                <div class="list">
                    <ul class="clearfix">
                    #foreach($ListInfo in $cmn.ModuleList("",10,"article"," flag !='' ","id desc",true,${site.CacheSecond}))
                 <li><a  href="${cmn.GetChannelByPath(${ListInfo.Path}).Url}"  target="_blank"> <span class="colorchannel">[${cmn.GetChannelByPath($ListInfo.Path).Title}]</span></a><a href="${ListInfo.Url}"  target="_blank">${ListInfo.Title}</a></li>
                #end 
                        
                    </ul>
                </div>
            </div>
            <!--end item-->
            <div class="abs-tcl">
            </div>
            <div class="abs-tcr">
            </div>
            <div class="abs-cl">
            </div>
            <div class="abs-cr">
            </div>
        </div>
    </div>
        <!--end col-side-s-->
    </div>
    <div class="blank4">
    </div>
    <!--底部通栏-->
    <div class="wrap">
        $cmn.Advertise("Index_5").Advertise
    </div>
    <!--首页第四部分-->

    <div class="blank4">
    </div>
    <!--友情链接-->
    <div class="wrap">
        <div class="links">
           
            <ul class="tab clearfix">
                <li class="current">友情链接</li>
                <li>网站联盟</li>
                
            </ul>
            <div class="tab-item">
                <ul class="clearfix">
                    #foreach($linkEntity in $link.List(100,${site.CacheSecond}))<li><a href="${linkEntity.Url}"  target="_blank" >#if(${linkEntity.ImgPath}=="")  ${linkEntity.Title} #else <img src="${linkEntity.ImgPath}" title="${linkEntity.Title}" />#end </a></li>#end
                </ul>
            </div>
            <div class="tab-item" style="display: none;">
                <ul class="clearfix">
                    
                    
                </ul>
            </div>
        </div>
        <!--end links-->
    </div>
    <div class="blank4">
    </div>
    <div class="blank4">
    </div>
    #parse("${skin.TemplateName}/include/footer.htm")
    <script type="text/javascript">
        var As, As1, As2, Atimer;
        function scrollShow() {
            As = document.getElementById("viewBox");
            As1 = document.getElementById("scroll1");
            As2 = document.getElementById("scroll2");
            As2.innerHTML = As1.innerHTML; //复制一份相同的放在ul后面做衔接

            Atimer = setInterval(Amar, 80);
        }
        function Amar() {
            if (As1.offsetWidth <= As.scrollLeft) {
                As.scrollLeft -= As1.offsetWidth;
            } else {
                As.scrollLeft++;
            }
        }
        //日期
        var showDate = document.getElementById('datetime');
        var date = new Date();
        var arr = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'];
        var year = date.getFullYear();
        var month = date.getMonth() + 1;
        var sDate = date.getDate();
        var day = date.getDay();
        showDate.innerHTML = year + '年' + month + '月' + sDate + '日' + ' ' + arr[day];
        //滚动消息
        scrollShow();

        //幻灯片
        $('#slide').slideShow();
        //选项卡
        var oTab = $('.tab-nav>li'); //.not('.tab-nav>li.other');
        var oTabItem = $('.tab-box>div');
        var oTabTwo = $('.links>.tab>li');
        var oTabTwoItem = $('.links>.tab-item');
        oTab.bind('mouseover', function () {
            var index = oTab.index(this);
            $(this).addClass('current').siblings().removeClass('current');
            oTabItem.eq(index).removeClass('hide').siblings().addClass('hide');
        });
        oTabTwo.bind('mouseover', function () {
            var index = oTabTwo.index(this);
            $(this).addClass('current').siblings().removeClass('current');
            oTabTwoItem.eq(index).show().siblings('div').hide();
        });
        $(document).ready(function () {
            var tags_a = $("#tags a");
            tags_a.each(function () {
                var x = 9;
                var y = 0;
                var rand = parseInt(Math.random() * (x - y + 1) + y);
                $(this).addClass("tags" + rand);
            });
        })   
    </script>

</body>
</html>
